import React from 'react'

const CommentItem = (props) => (
  <div className={props.list.length>=1?'btn-expand':''}>
    {
      props.list.map((item, index) => {
      return <p key={index}>{item}</p>
      })
    }
  </div>
)

export default CommentItem